<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:comp="http://facelets.mycomponents.com">
    <ui:composition>
        <h:form id="frmChooseProject" styleClass="form" >

            <h:outputText style="margin-right: 10px" value="#{msgBundle.choose_project}"/>

            <h:selectOneMenu id="selectProject" value="#{projectBean.selectedproject}"
                style="width: 190px; margin-right: 10px">
                <f:selectItems value="#{projectBean.projects}" var="object"
                    itemLabel="#{object.projectName}" itemValue="#{object}" />
                <f:converter converterId="ProjectConverter" />
            </h:selectOneMenu>

            <h:commandButton styleClass="button" value="#{msgBundle.submit}" action="#{projectBean.submitSelected}" />

            <comp:chooseLanguage/>

        </h:form>
    </ui:composition>
</html>
